<?php
/**
 * Copyright (c) Sandeep Manne (sandeep.manne@gmail.com) 
 *
 * @author  Sandeep Manne
 * @since   22-May-2009, 11:53:59 PM
 * @version $Id$
 */

require_once 'Zend/Layout.php';
Zend_Layout::startMvc(array('layoutPath' => ROOT_PATH.'/public/templates/default/scripts/layouts',
							'layout' => 'default'));

$view = Zend_Layout::getMvcInstance()->getView();
$view->doctype('XHTML1_TRANSITIONAL');

$viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer();
$viewRenderer->setViewBasePathSpec(ROOT_PATH.'/public/templates/default/');
$viewRenderer->setViewScriptPathSpec(":module/:controller/:action.:suffix");

Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);



